home *** CD-ROM | disk | FTP | other *** search
/ Champak 26 (Anniversary Edition) / Volume 26 [Anniversary Edition] - JOGO DISK .iso / DEPOSITO / REmovido / Nave / Drakojan.swf / scripts / frame_8421 / PlaceObject2_1445_77 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2006-07-21  |  2KB  |  99 lines

  1. onClipEvent(enterFrame){
  2.    if(_currentframe < 2)
  3.    {
  4.       if(_root.spaceship._currentframe == 25)
  5.       {
  6.          if(this.hitTest(_root.spaceship))
  7.          {
  8.             _root.spaceship.gotoAndStop(1);
  9.             _root.lifebar.gotoAndStop(1);
  10.             nextFrame();
  11.          }
  12.       }
  13.    }
  14.    if(_currentframe < 2)
  15.    {
  16.       if(_root.spaceship._currentframe == 50)
  17.       {
  18.          if(this.hitTest(_root.spaceship))
  19.          {
  20.             _root.spaceship.gotoAndStop(25);
  21.             _root.lifebar.gotoAndStop(2);
  22.             nextFrame();
  23.          }
  24.       }
  25.    }
  26.    if(_currentframe < 2)
  27.    {
  28.       if(_root.spaceship._currentframe == 75)
  29.       {
  30.          if(this.hitTest(_root.spaceship))
  31.          {
  32.             _root.spaceship.gotoAndStop(50);
  33.             _root.lifebar.gotoAndStop(3);
  34.             nextFrame();
  35.          }
  36.       }
  37.    }
  38.    if(_currentframe < 2)
  39.    {
  40.       if(_root.spaceship._currentframe == 100)
  41.       {
  42.          if(this.hitTest(_root.spaceship))
  43.          {
  44.             _root.spaceship.gotoAndStop(75);
  45.             _root.lifebar.gotoAndStop(4);
  46.             nextFrame();
  47.          }
  48.       }
  49.    }
  50.    if(_currentframe < 2)
  51.    {
  52.       if(_root.spaceship._currentframe == 125)
  53.       {
  54.          if(this.hitTest(_root.spaceship))
  55.          {
  56.             _root.spaceship.gotoAndStop(100);
  57.             _root.lifebar.gotoAndStop(5);
  58.             nextFrame();
  59.          }
  60.       }
  61.    }
  62.    if(_currentframe < 2)
  63.    {
  64.       if(_root.spaceship._currentframe == 149)
  65.       {
  66.          if(this.hitTest(_root.spaceship))
  67.          {
  68.             _root.spaceship.gotoAndStop(125);
  69.             _root.lifebar.gotoAndStop(6);
  70.             nextFrame();
  71.          }
  72.       }
  73.    }
  74.    if(_currentframe < 2)
  75.    {
  76.       if(_root.spaceship._currentframe == 173)
  77.       {
  78.          if(this.hitTest(_root.spaceship))
  79.          {
  80.             _root.spaceship.gotoAndStop(149);
  81.             _root.lifebar.gotoAndStop(7);
  82.             nextFrame();
  83.          }
  84.       }
  85.    }
  86.    if(_currentframe < 2)
  87.    {
  88.       if(_root.spaceship._currentframe == 197)
  89.       {
  90.          if(this.hitTest(_root.spaceship))
  91.          {
  92.             _root.spaceship.gotoAndStop(173);
  93.             _root.lifebar.gotoAndStop(8);
  94.             nextFrame();
  95.          }
  96.       }
  97.    }
  98. }
  99.